package com.ofood.data.exception;

import com.ofood.result.BaseResult;

public class CustomException extends Exception{

    private BaseResult baseResult;

    public BaseResult getBaseResult() {
        return baseResult;
    }

    public void setBaseResult(BaseResult baseResult) {
        this.baseResult = baseResult;
    }

    public CustomException(BaseResult baseResult){
        this.baseResult=baseResult;
    }
}
